package com.shuwen.gcdj.common.util.string;

import java.util.List;
import java.util.UUID;

public class StringUtil {
    private StringUtil() {

    }

    /**
     * 获取32位随机数
     */
    public static String getNonce() {
        return UUID.randomUUID().toString().replace("-", "");
    }

    public static boolean isNotEmpty(List<String> ss) {
        return ss != null && !ss.isEmpty();
    }

    public static boolean isEmpty(List<String> ss) {
        return ss == null || ss.isEmpty();
    }
}
